<template>
	<view>
		<z-paging ref="paging"  v-model="voidePageDataList" @query="queryList" :default-page-size="10">
			<view  v-for="(item,index) in voidePageDataList" :key="index">		
			 <fui-list-cell @click="getDetail(item.id)">
			 	<view>
			 	<view>{{item.seekName}}</view>
			 	<view>{{item.seekSubName}}</view>
			 	<view>{{item.seekAuth}}</view>
			 	<view>{{item.createTime}}</view>
			 	</view>
			 	<view class="fui-text__explain">
			 		  <image style="width: 200rpx;height: 200rpx;"  :src="this.$request.baseUrl+item.seekConver"/>
			 	</view>
			 </fui-list-cell>
			  
			 
			 </view>
		</z-paging> 
	</view>
</template>

<script>
	export default {
		data() {
			return {
				voidePageDataList:[],
				queryForm:{
					 pageNum:1,
					pageSize:10
				},
			}
		},
		methods: {
			queryList(pageNo, pageSize) {
				this.queryForm.pageNum=pageNo;
				this.queryForm.pageSize=pageSize;
				 this.$request.post('seek/list',this.queryForm).then(res => {
				 	 this.$refs.paging.complete(res.data.dataList);
				 }).catch(res => {
			    	this.$refs.paging.complete(false);
			    })
			},
			getDetail(seekId){
				uni.navigateTo({
					url: '/pages/views/mySeek?seekId='+seekId
				});
				
			}
		}
	}
</script>

<style>

</style>
